package xin.marcher.module.rights.api;

import xin.marcher.module.common.core.JsonResult;
import xin.marcher.module.rights.domain.request.PermissionRequest;
import xin.marcher.module.rights.domain.request.QueryPermissionRequest;
import xin.marcher.module.rights.domain.request.RemovePermissionRequest;

/**
 *
 */
public interface PermissionApi {

    /**
     * 添加权限接口
     */
    JsonResult savePermission(PermissionRequest request);

    /**
     * 删除权限接口
     */
    JsonResult removePermission(RemovePermissionRequest request);

    /**
     * 查询权限列表接口
     */
    JsonResult queryPermission(QueryPermissionRequest request);

}
